package com.xxx.yuedong.campaign.controller.form;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author hc
 * @date 2023/09/03 16:32
 **/

@Data
public class SearchPlanListForm {
    @Min(value = 1,message = "当前页最小为1")
    private Integer pageNum;
    @Range(min = 10,max = 50,message = "每页大小为10-50")
    private Integer pageSize;
}
